/**
 * Created by Administrator on 2017/5/9.
 */

var myChart = echarts.init(document.getElementById('focus_atlas'));

var option = {
    radar: {
        center: ['50%', '50%'],
        radius: 80,
        indicator: [
            { name: '销售', max: 6500},
            { name: '管理', max: 16000},
            { name: '信息技术', max: 30000},
            { name: '客服', max: 38000},
            { name: '研发', max: 52000},
            { name: '市场', max: 25000}
        ]
    },
    series: [{
        type: 'radar',
        // areaStyle: {normal: {}},
        data : [
            {
                value : [5000, 14000, 28000, 31000, 42000, 21000],
                name : '实际开销（Actual Spending）',
                areaStyle: {
                    normal: {
                        opacity: 0.9,
                        color: "rgba(127, 196, 230, 0.8)"
                    }
                },
                lineStyle: {
                    normal: {
                        color: "rgba(127, 196, 230,1)"
                    }
                },
                itemStyle:{
                    normal:{
                        borderColor:"rgba(127, 196, 230,1)",
                        borderWidth: 4,
                        borderType: 'solid'
                    }
                }
            }
        ]
    }]
};
myChart.setOption(option);
